package com.amigo.online.common.param.dto.video;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.Digits;

public class VideoCommentDto {
	
	@Digits(integer=11,fraction=0)
	private Long commentId;
	@NotBlank
	@Length(min = 1, max = 200)
	private String content;
	
	/** 是否广告*/
	@Digits(integer=1,fraction=0)
	private int isAdv;
	
	public Long getCommentId() {
		return commentId;
	}
	public void setCommentId(Long commentId) {
		this.commentId = commentId;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public int getIsAdv() {
		return isAdv;
	}
	public void setIsAdv(int isAdv) {
		this.isAdv = isAdv;
	}
	
	
}
